//
//  VideoCell.h
//  Tang
//
//  Created by lanou on 15/12/3.
//  Copyright © 2015年 352324497@qq.com. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "VideoViewModel.h"
#import "WaterFlowLayout.h"
#import "VideoViewDetailModel.h"
#define KHeightForItem (90 * KWidth / 414)

@protocol VideoCellDelegate <NSObject>

- (void)jumpVcWithModel:(VideoViewDetailModel *)model;

@end
@interface VideoCell : UITableViewCell<UICollectionViewDelegate ,UICollectionViewDataSource,UICollectionViewDelegateWaterFlowLayout>
@property (nonatomic, strong) UICollectionView *collectionView;
@property (nonatomic, assign) id<VideoCellDelegate> delegate;
@property (nonatomic, strong) VideoViewModel *model;
+ (CGFloat)heightForCellWithModel:(VideoViewModel *)model;
@end
